#include "StdAfx.h"
#include "XmlComment.h"

namespace System{
namespace Xml{

/*******************************************************/
VIRTUAL_GET_TYPE_IMPLEMENT(System::Xml::XmlComment, System_Xml_XmlComment)
VIRTUAL_TOSTRING_IMPLEMENT(System::Xml::XmlComment, System_Xml_XmlComment)

XmlComment::XmlComment(void)
{
}

XmlComment::XmlComment(const TCHAR* comment, const size_t len)
{
	m_Comment = new MemString(comment, len);
}



XmlComment::~XmlComment(void)
{
	if(m_Comment != NULL) {
		delete m_Comment;
		m_Comment = NULL;
	}
}


}}